package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 自定义报表DTO
 * </p>
 *
 * @author wangyujie
 * @since 2020-01-14
 */
@Data
@ApiModel(value="DiyReportVO对象", description="自定义报表")
public class DiyReportVO implements Serializable {


    @ApiModelProperty(value = "唯一code")
    private String code;

    @ApiModelProperty(value = "组织机构编码")
    private String branchCode;

    @ApiModelProperty(value = "报表名称")
    private String name;

    @ApiModelProperty(value = "报表类型：0 运输单，1 订单")
    private Integer type;

    @ApiModelProperty(value = "是否是默认0-不是，1-是")
    private Integer isDefault;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "总数")
    private Long total;
}
